<?php

/* 
 * mise en forme d'un article
 */

?>
<article id="post-<?php echo $publication->getId(); ?>" itemscope itemtype="http://schema.org/Article">
    <h2 class="title"><a href="<?php echo $publication->getTranslatedUrl($this->getLangueCode()); ?>"><span itemprop="name"><?php echo $this->translate($publication,'title',$this->getLangueCode()); ?></span></a></h2>
    <div itemprop="description" class="post-content">
        <?php echo $this->translate($publication,'summary',$this->getLangueCode()); ?>
    </div>
    <meta itemprop="url" content="<?php echo $publication->getTranslatedUrl($this->getLangueCode()); ?>" />
</article>